package com.fzh.bookstore.biz.goods.controller;


import com.fzh.bookstore.biz.goods.dto.GoodsInfoRequest;
import com.fzh.bookstore.biz.goods.service.CategoryService;
import com.fzh.bookstore.dto.SuperResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fang
 * @since 2021-02-25
 */
@RestController
@RequestMapping("/goods/category")
@Api(value = "商品分类模块",tags = {"商品分类模块"})
public class CategoryController {

    @Autowired
    private CategoryService  categoryService;


    @PostMapping("/all")
    @ApiOperation(value = "商品分类（APP首页）" ,notes = "")
    public SuperResponse all(@Valid @RequestBody GoodsInfoRequest request ){
        return  null;
    }


}

